-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add camera GetProperties #18
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one question
@@ -50,7 +54,15 @@ public static Camera fromRobot(final RobotClient robot, final String name) { | |||
public abstract Image getImage(final Format format, | |||
final Optional<Struct> extra); | |||
|
|||
public abstract Entry<List<Image>, Common.ResponseMetadata> getImages(); | |||
public Entry<List<Image>, Common.ResponseMetadata> getImages() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[q] why provide a default implementation here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was requested
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol k
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just want to point out that this could be a subtle point of bugs for anyone expecting getImages
to work, but a camera implementer didn't provide it. This doesn't provide the user with any feedback (like an unimplemented error)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eh yeah. ill change it back.
@edaniels can you revert or can we close this? |
No longer approved
No description provided.